function parseRating(v) {
    let p = v.indexOf('(');
    let level = v.substring(0, p - 1);
    let action = v.substring(p + 1, v.length - 1);
    return {
        level,
        action
    };
}

module.exports = {
    parseRating
}